class ConcreteComponent extends Component {
    @Override
    public void doSomething() {
        System.out.println("doSomething()");
    }

    @Override
    public void end() {
        System.out.println("end");
    }
}
